﻿using MiniFox.Platform;
using MiniFox.Platform.Applications.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Repository.Core
{
    /// <summary>
    /// 
    /// </summary>
    public static class Extensions
    {
        //public const string AREA_NAME = "repo";

        public static string CombineUserName(this SystemIdentity systemIdentity)
        {
            if (systemIdentity == null) return null;
            return $"[{systemIdentity.Name}]{systemIdentity.DisplayName}";
        }
    }
}
